<!--<meta http-equiv="refresh" content="2"/>-->
<link href="__PUBLIC__/Admin/css/same.css"  type="text/css" rel="stylesheet"/>
<script src="__PUBLIC__/js/jquery-1.11.3.min.js" type="text/javascript"></script>
<link href="__PUBLIC__/css/bootstrap.css"  type="text/css" rel="stylesheet"/>
<script src="__PUBLIC__/js/layer/layer.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/bootstrap.js" type="text/javascript"></script>
<script src="__PUBLIC__/Admin/js/InfoManage.js" type="text/javascript"></script>
<div class="a-main-left-content">
    <div class="a_con_title">
        <h4>系统消息管理</h4>
    </div>
    <div class="a_title_tip">
        <img class="a_record_icon" src="/Public/img/record_01.jpg"/>
        <span class="a_record_news">在此输入最新消息。</span>
    </div>

    <div class="read_type_box">
        <div class="system_box_box">
            <div class="system_span_box">
                <span>系统消息</span>
                <input type="button" value="添加消息"  data-toggle="modal" data-target="#myModal">
            </div>
            <div class="height_con">
                <table class="system_table">
                    <tr>
                        <th class="x1">标题</th>
                        <th class="x2">简介</th>
                        <th class="x1">时间</th>
                        <th class="x1">操作</th>
                    </tr>
                    <volist name="_getSystemInfo" id="vo">
                        <tr>
                            <td class="x1">{$vo['system_title']}</td>
                            <td  class="x2">{$vo['system_intro']}</td>
                            <td class="x1">{$vo['system_time']|date='Y-m-d',###}</td>
                            <td class="x1">
                                <a href="{:U('Admin/InfoManage/systemInfo',array('system_id'=>$vo['system_id']))}"><button type="button" class="wyz_bb zz_z1">查看详情</button></a>
                                <button type="button" class="wyz_dd1 zz_z1 del" data-del-id="{$vo['system_id']}">删除</button>
                                <input type="hidden" value="{:U('Admin/InfoManage/systemDel')}" id="del-url">
                            </td>
                        </tr>
                    </volist>
                </table>
            </div>

        </div>
        <!-- Modal -->
        <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title" id="myModalLabel">系统消息添加</h4>
                    </div>
                    <div class="modal-body">
                        <div class="system_box">
                            <div class="system_title">
                                <span>标题：</span>
                            </div>
                            <input type="text" name="system_title" id="system_title">
                        </div>
                        <div class="system_box">
                            <div class="system_title">
                                <span>简介：</span>
                            </div>
                            <input type="text" name="system_intro" id="system_intro">
                        </div>
                        <div class="system_box">
                            <textarea cols="45" rows="10" name="system_content" placeholder="详细内容（字数限制255）。。。。" id="system_content"></textarea>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                        <button type="button" class="btn btn-primary add" >发表</button>
                    </div>
                    <input type="hidden" value="{:U('Admin/InfoManage/systemAdd')}" id="add-url">
                </div>
            </div>
        </div>
        <!----->
    </div>
</div>